/*
 * Copyright (C) 2012 Martin Wilsdorf <mwjutils-api@googlecode.com>.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301  USA
 */

package com.google.mwjutils.xcode.samples;

/**
 * This is a sample file of how to use MWJUtils XCode API.
 *
 * It is doing nothing as there is no library added.
 *
 * @author Martin Wilsdorf <mwjutils-api@googlecode.com>
 */
public class MWXCodeSample {
    /**
     * Call run(  ) to start sample.
     *
     * This one is using standard in- and output for creating a shell
     * application.
     *
     * @return Returns 0 if sample exited successfully
     */
    public final int run( String... aArgs ) {
        MWXShell.main( aArgs );
         return 0;
    }

    //<editor-fold defaultstate="collapsed" desc="MAIN(  )">
    /**
     * METHOD main( ... )
     *
     * Running application main will run this sample.
     *
     * @param aArgs No arguments needed.
     */
    public static void main( String... aArgs ) {
        MWXCodeSample mwxcSample = new MWXCodeSample(  );
        mwxcSample.run( aArgs );
    }
    //</editor-fold>
}
